package com.library.service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.IService;
import com.library.dto.pojo.excelPo.ReaderExportInfo;
import com.library.dto.vo.ReaderVo;
import com.library.entity.Reader;
import com.library.entity.ReaderType;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 至尊伍人组
 * @since 2018-09-30
 */
public interface IReaderService extends IService<Reader> {

    public List<ReaderVo> selectListAsReaderVo( EntityWrapper<Reader> wrapper );

    public Map<Integer, ReaderType> getReadTypeMap();

    public List<ReaderExportInfo> getReaderExcelList();

    void insertBatchFromExcel( List<Object> objects );
}
